// curl -k https://localhost:8000/
const https = require('node:https');
const fs = require('node:fs');

const options = {
    key: fs.readFileSync('./https/server.key'),
    cert: fs.readFileSync('./https/server.crt'),
};

https.createServer(options, (req, res) => {
    res.writeHead(200);
    res.end('hello world\n');
}).listen(8000)

